<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<table border="1">
	<tr>
		<td>번호</td>
		<td>아이디</td>
		<td>비밀번호</td>
		<td>제목</td>
		<td>파일</td>
		<td>날짜</td>

	</tr>
	<c:forEach var="board" items="${requestScope.list}">
		<tr>
			<td>${board.num}</td>
			<td>${board.id}</td>
			<td>${board.pass}</td>
			<td><a href="boardView.bo?num=${board.num}">${board.subject}</a></td>
			<td>${board.file}</td>
			<td><fmt:formatDate value="${board.regdate}"
					pattern="yyyy-MM-dd" /></td>
		</tr>
	</c:forEach>
</table>